//
//  CenterBottomCell.m
//  ShangHaiTuJI
//
//  Created by xiaoxiangtuji on 2017/9/28.
//  Copyright © 2017年 xiaoxiangtuji. All rights reserved.
//

#import "CenterBottomCell.h"

@implementation CenterBottomCell
-(void)layoutSubviews{
    [self createSubViews];
}
-(void)createSubViews{
    UIImageView *pictureView = [[UIImageView alloc] init];
    pictureView.backgroundColor = [UIColor redColor];
     pictureView.image = [UIImage imageNamed:@"未标题-2.jpg"];
    [self.contentView addSubview:pictureView];
    [pictureView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.contentView).with.insets(UIEdgeInsetsMake(0, 0, 0, 0));
    }];
//    UIImageView *iconImageView = [[UIImageView alloc] init];
//    iconImageView.backgroundColor = [UIColor cyanColor];
//    [self.contentView addSubview:iconImageView];
//    [iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.left.equalTo(self.contentView);
//        make.bottom.equalTo(self.contentView);
//        make.top.equalTo(pictureView.mas_bottom);
//        make.width.mas_equalTo(22);
//    }];
//    UILabel *nameLabel = [[UILabel alloc] init];
//    nameLabel.text = @"上海城市馆";
//    nameLabel.font = [UIFont systemFontOfSize:13];
//    [self.contentView addSubview:nameLabel];
//    [nameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.left.equalTo(iconImageView.mas_right).offset(7);
//        make.bottom.equalTo(self.contentView);
//        make.top.equalTo(pictureView.mas_bottom);
//        make.right.equalTo(self.contentView.mas_right).offset(-10);
//    }];
}
@end
